#pragma once
#include "../common/Grobal.h"

class MsgProcessManager
{
public:
	MsgProcessManager();
	~MsgProcessManager();
private:
	static MsgProcessManager* _instance;
public:
	static MsgProcessManager* GetInstance();

	//void DecodeMessagePacket(char *datablock);
	void DecodeMessagePacket(string datablock);
	void ClientGetPasswdSuccess(char *body);
	void ClientGetPasswordOK(TDefaultMessage Msg, string sBody);
	void ClientGetReceiveChrs(string body);
	void ClientGetStartPlay(string body);
	void ClientGetSendNotice(string body);
	void ClientGetMapDescription(TDefaultMessage Msg, string sBody);
	void ClientGetGameGoldName(TDefaultMessage Msg, string sBody);

	vector<TServerStatus> g_ServerList;
};
